<script setup>
import { onMounted } from 'vue';
// if(window.Worker){
//   console.log('woker')
// }
// onMounted(()=>{
//     var bowhidden="hidden" in document?"hidden": "webkithidden" in document?"webkithidden": "mozhidden" in document ?"mozhidden": null;
//     var vibchage="visibilitychange" || "webkitvisibilitychange" || "mozvisibilitychange";
//     document.addEventListener(vibchage,function () {
//         if(!document[bowhidden]) /*false*/
//         {
//             console.log("激活");
//         }else{
//           console.log("非激活");
//         }
//     });

//     })



</script>

<template>
  <router-view></router-view>
</template>

<style>


</style>
